{temp('html/recruit/pc/head')}
	<script src="{$style}/js/myWdatePicker/WdatePicker.js"></script>
	<script>
	function gbdz(id,nn,cc){//改变地址
		$.post('{$_url}/?act=get_diqu',{id:id},function(data){
			$("#"+nn).html(data);
			if(cc != ''){
				$("#"+cc).html('<option value="0">请选择</option>');
			}
		});
	}
	</script>
</head>
<body>
	{temp('html/recruit/pc/zjia/toubu')}

		<!--主体内容-->
		<div class="w_bai dis_inline t_m10 t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--左侧-->
				<div class="w_286 f_l c_656565 bc_FFF bor_C6 xddw" style="margin-top:-61px">
					<!--右阴影图片-->
					<div class="f_r xddw" style="margin-right:-38px;margin-top:-1px">
						<img src="{$style}/images/yinying_you2.png">
					</div>
					<!--右阴影图片结束-->
					<!--标题-->
					<div class="h_50 l_h50 f_s18 bc_127ABF c_FFF t_l">
						<span class="l_m20">职位管理</span>
					</div>
					<!--标题结束-->
					<!--列表-->
					<div id="geren_zuo">
						<ul>
							<li id="list2">
								<div class="f_l shoudaojianli"></div>
								<div class="dis_inline l_m10">
									<a href="{$_url}/?act=job&met=zjgw_gl">职位管理</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>

							<li id="list">
								<div class="f_l t_m3 fabu2"></div>
								<div class="dis_inline l_m7">
									<a href="{$_url}/?act=job&met=zjgw_fb">发布新职位</a>
								</div>
							</li>
							<div class="bor_C6 bor_di_none t_m5"></div>
							
						</ul>
					</div>
					<!--列表结束-->
				</div>
				<!--左侧结束-->
				<!--右侧-->
				<div class="w_804 l_m5 f_r bc_FFF bor_C6 t_l">
					<!--标题-->
					<div class="t_m15 l_m20">
						<span class="f_s20 c_323131">发布新职位</span>
						<span class="c_7D7D7D">(请先选择全职或者兼职)</span>
					</div>
					<!--标题结束-->
					<!--分割线-->
					<div class="bor_C6 bor_di_none t_m10"></div>
					<!--分割线结束-->
					<!--全职兼职标题-->
					<div class="w_bai t_m30 dis_inline">
						<div class="f_l w_286">&nbsp;</div>
						<div id="zhuce" class="f_l w_80 h_60 l_h60 t_c f_s20 bor_127ABF b_rad5 point">
							<a href="{$_url}/?act=job&met=zjgw_fb">全职</a>
						</div>
						<div class="f_l xuanzhong" style="margin-left:-39px;_margin-left:-38px"></div>
						<div id="zhuce" class="f_l l_m20 w_80 h_60 l_h60 t_c f_s20 bor_EBEB b_rad5 point">
							<a href="{$_url}/?act=job&met=zjgw_fbjz">兼职</a>
						</div>
					</div>
					<!--全职兼职标题结束-->
					<!--内容-->
					<div class="t_m20 l_m20 c_656565">
						<!--基本信息-->
						<div class="w_bai t_m25">
							<!--图标及提示字-->
							<div class="w_bai dis_inline">
								<div class="mulu f_l t_m3 l_m20"></div>
								<div class="f_l l_m5 f_s18 c_323131">基本信息</div>
							</div>
							<!--图标及提示字结束-->
							<!--内容-->
							<div class="t_m15 l_m40 dis_inline">
								<!--职业类别-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">职业类别</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="zwlb" onChange="gbzw(this.value)">
												<option value="0">请选择</option>
												{if(@$hy)}
					        					{foreach($hy as $k=>$v)}
					        					<option value="{$v['id']}">{$v['name']}</option>
					        					{/foreach}
					        					{/if}
							        		</select>
							        		</div>
							        	</div>
							        </div>
							        <div class="f_l l_m10">
										<div class="select-outer select-wh200">
											<div class="select-inner">
	                                    	<select id="zhiwei" class="select-h">
							        			<option value="0">请选择</option>
							        			{if(@$zhiwei)}
							        			{foreach($zhiwei as $k=>$v)}
							        			<option value="{$v['id']}">{$v['name']}</option>
							        			{/foreach}
							        			{/if}
							        		</select>
											 </div>
									 	</div>
									</div>
								</div>
								<!--职业类别结束-->
								<!--职位名称-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">职位名称</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" id="name" class="inp_msg w_355" placeholder="如：销售经理" />
									</div>
								</div>
								<!--职位名称结束-->
								<!--招聘人数-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">招聘人数</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg f_l" id="number" min="1" value="1"/>
										<span class="f_l t_m8 l_m5">人</span>
									</div>
								</div>
								<!--招聘人数结束-->
								<!--薪资待遇-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">薪资待遇</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="money">
												{foreach($xz as $k=>$v)}
												<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--薪资待遇结束-->
								<!--工作地点-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">工作地点</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh95">
											<div class="select-inner">
												<select id="sheng" onChange="gbdz(this.value,'shi')" class="select-h">
													<option value="0">请选择</option>
														{if(@$ssq)}
														{foreach($ssq as $k=>$v)}
															<option value="{$v['area_id']}">{$v['area_name']}</option>
														{/foreach}
														{/if}
												</select>
											</div>
										</div>
									</div>
									<div class="f_l l_m10">
										<div class="select-outer select-wh95">
											<div class="select-inner">
												<select id="shi" onChange="gbdz(this.value,'qu')" class="select-h">
													<option value="0">请选择</option>
												</select>
											</div>
										</div>
									</div>
									<div class="f_l l_m10">
										<div class="select-outer select-wh95">
											<div class="select-inner">
												<select id="qu" class="select-h">
													<option value="0">请选择</option>
												</select>
											</div>
										</div>
									</div>
									<input type="text" class="inp_msg f_l l_m5" placeholder="详细地址" id="zzdd" />
								</div>
								<!--工作地点结束-->
								<div class="w_bai t_m15 l_m20 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">结束日期</span>
									</div>
									<div class="f_l l_m10">
										<input class="Wdate" type="text"  id="jstime" 
	                            			onfocus="WdatePicker({firstDayOfWeek:0,isShowClear:false,isShowOK:false,isShowToday:false})"/>
									</div>
									<div class="f_l l_m10 t_m8 c_656565">（默认招聘三个月）</div>
								</div>
								<!--结束日期结束-->
								<!--提供住房-->
								<div class="w_bai t_m5 l_m20 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">提供住房</span>
									</div>
									<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:15px">
										<input type="radio" name="stay" checked="checked" value="1" />是
										<input type="radio" name="stay" class="l_m20" value="0" />否
									</div>
								</div>
								<!--提供住房结束-->
								<!--岗位描述-->
								<div class="w_bai t_m15 l_m20 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">岗位描述</span>
										<span class="dis_block t_m5 l_m12 c_E06300 point" onClick="showList('fanli')">
											范例？
										</span>
									</div>
									<!--隐藏范例-->
									<div class="f_l w_340 h_176 t_m55 l_h25 bor_C6 bc_EEE c_323232 jddw zIndex_2"
											id="fanli" style="display:none;margin-left:35px!important;margin-left:-555px">
										<P class="l_m10 r_m20 t_m10">1.负责公司网站开发。</P>
										<p class="l_m10 r_m20">2.负责公司对外接口系统开发。</p>
										<p class="l_m10 r_m20">3.公司各部门之间的技术沟通，协调。</p>
										<p class="l_m10 r_m20">4.负责审核业务部分报送的单据及制单。</p>
										<p class="l_m10 r_m20">5.把握部门的工作进度，定期汇报，改善部门工作绩效。</p>
									</div>
									<!--隐藏范例结束-->
									<div class="f_l l_m10 xddw zIndex_1">
										<textarea rows="3" cols="20" class="w_492 h_150" id="other"
											placeholder="请输入10字以上的详细岗位职责描述"></textarea>
									</div>
								</div>
								<!--岗位描述结束-->
							</div>
							<!--内容结束-->
						</div>
						<!--基本信息结束-->
						<!--应聘条件-->
						<div class="w_bai t_m25">
							<!--图标及提示字-->
							<div class="w_bai dis_inline">
								<div class="duoren f_l t_m3 l_m20"></div>
								<div class="f_l l_m5 f_s18 c_323131">应聘条件</div>
							</div>
							<!--图标及提示字结束-->
							<!--内容-->
							<div class="t_m15 l_m40 dis_inline">
								<!--性别-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m52" style="_margin-left:39px">
										<span class="c_656565">性别</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="sex">
												<option>不限</option>
												<option>男</option>
												<option>女</option>
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--性别结束-->
								<!--年龄-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m52" style="_margin-left:39px">
										<span class="c_656565">年龄</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg" placeholder="" id="age" value="0" />
									</div>
									<div class="f_l l_m10 t_m8 c_656565">("0"表示不限制)</div>
								</div>
								<!--年龄结束-->
								<!--身高-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m52" style="_margin-left:39px">
										<span class="c_656565">身高</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg" placeholder="" id="height" value="0" />
									</div>
									<div class="f_l l_m10 t_m8 c_656565">CM("0"表示不限制)</div>
								</div>
								<!--身高结束-->
								<!--学历-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m52" style="_margin-left:39px">
										<span class="c_656565">学历</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="xueli">
												{foreach($_xueli as $k=>$v)}
												<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--学历结束-->
								<!--外国语种-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">外国语种</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="language">
												{foreach($_waiyu as $k=>$v)}
												<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--外国语种结束-->
								<!--语言水平-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">语言水平</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="langpro">
												{foreach($_yysp as $k=>$v)}
												<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--语言水平结束-->
								<!--计算机水平-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m11" style="_margin-left:18px">
										<span class="c_656565">计算机水平</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="cskill">
												{foreach($_cskill as $k=>$v)}
													<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--计算机水平结束-->
								<!--工作经验-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">工作经验</span>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:20px">
										<div class="select-outer select-wh200">
											<div class="select-inner">
											<select class="select-h" id="gzjy">
												{foreach($_gzjy as $k=>$v)}
												<option>{$v}</option>
												{/foreach}
											</select>
											</div>
										</div>
									</div>
								</div>
								<!--工作经验结束-->
							</div>
							<!--内容结束-->
						</div>
						<!--应聘条件结束-->
						<!--联系方式-->
						<div class="w_bai t_m25">
							<!--图标及提示字-->
							<div class="w_bai dis_inline">
								<div class="lianxi f_l t_m5 l_m20"></div>
								<div class="f_l l_m5 f_s18 c_323131">联系方式</div>
							</div>
							<!--图标及提示字结束-->
							<!--内容-->
							<div class="t_m15 l_m40 dis_inline">
								<!--联系人-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m39" style="_margin-left:32px">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">联系人</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg" id="linkman" />
									</div>
								</div>
								<!--联系人结束-->
								<!--手机号码-->
								<div class="w_bai t_m15 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_FF4700 l_m10">*</span>
										<span class="c_656565">手机号码</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg" id="phone" />
									</div>
									<div class="f_l l_m10 t_m8 c_656565">不同职位可以填写不同的联系方式</div>
								</div>
								<!--手机号码结束-->
								<!--邮箱-->
								<div class="w_bai t_m15 l_m20 dis_inline">
									<div class="f_l t_m8 l_m45" style="_margin-left:35px">
										<span class="c_656565">&nbsp;&nbsp;邮箱</span>
									</div>
									<div class="f_l l_m10">
										<input type="text" class="inp_msg" id="email" />
									</div>
								</div>
								<!--邮箱结束-->
								<!--同时设置-->
								<div class="w_bai t_m5 l_m20 dis_inline">
									<div class="f_l t_m8 l_m25">
										<span class="c_656565">是否发布</span>
									</div>
									<div class="f_l t_m8 c_656565" style="margin-left:10px!important;margin-left:15px">
										<input type="radio" name="issue" checked="checked" value="1" />是
										<input type="radio" name="issue" class="l_m20" value="2" />否
									</div>
								</div>
							<!--内容结束-->
							<!--确认按钮-->
							<div class="w_bai t_m40 b_m50 dis_inline">
								<div class="f_l w_85">&nbsp;</div>
								<div class="f_l w_200 h_35 l_h35 bc_E16400 c_FFF t_c point" 
									style="margin-left:7px!important;margin-left:16px;_margin-left:45px" onClick="bc()">
									保存立即发布
								</div>
							</div>
							<!--确认按钮结束-->
			<script type="text/javascript">
        	function bc(){
        		var name = $("#name").val();
        		if(name == ''){ alert('请填写岗位名称!');return;}
        		var zwlb = $("#zwlb").val();
        		if(zwlb == ''){ alert('请选择职位类型!');return;}
        		var zhiwei = $("#zhiwei").val();
        		if(zhiwei == ''){ alert('请选择职位类型!');return;}
        		var number = $("#number").val(); 
        		if(number == ''){ alert('请填写招聘人数!');return;}
        		var money = $("#money").val(); 
        		if(money == ''){ alert('请选择薪资!');return;}
        		var xueli = $("#xueli").val(); 
        		var sheng = $("#sheng").val(); 
        		if(sheng == ''){ alert('请填写工作地点!');return;}
        		var shi = $("#shi").val(); 
        		if(shi == ''){ alert('请填写工作地点!');return;}
        		var qu = $("#qu").val(); 
        		if(qu == ''){ alert('请填写工作地点!');return;}
        		var linkman = $("#linkman").val();
        		if(linkman == ''){ alert('请填写联系人!');return;}
        		var zzdd = $("#zzdd").val();
        		if(zzdd == ''){ alert('请填写联系地址!');return;}
        		var phone = $("#phone").val();
        		if(phone == ''){ alert('请填写联系电话!');return;}
        		var sex = $("#sex").val();;
        		var age = $("#age").val();
        		var height = $("#height").val();
        		var jstime = $("#jstime").val();
        		//if(jstime == ''){ alert('请填写结束时间!');return;}
        		var gzjy = $("#gzjy").val();
        		var other = $("#other").val();
        		var email = $("#email").val();
        		var language = $("#language").val();
        		var langpro = $("#langpro").val();
        		var cskill = $("#cskill").val();
        		var stay = $("input:radio[name=stay]:checked").val();
        		var issue = $("input:radio[name=issue]:checked").val();
        		$.post('{$_url}/?act=job&met=zjfb_sck',{zt:0,name:name,zwlb:zwlb,zhiwei:zhiwei,number:number,money:money,xueli:xueli,
        			sheng:sheng,shi:shi,qu:qu,linkman:linkman,address:zzdd,phone:phone,jstime:jstime,gzjy:gzjy,
        			other:other,sex:sex,height:height,age:age,email:email,language:language,langpro:langpro,cskill:cskill,
        			stay:stay,issue:issue},function(data){
         				if(data == '发布成功!'){
         					top.location.href="{$_url}/?act=job&met=zjgw_gl";
         				}else{
         					alert(data);
         				}
        			});
        		}
        	
	        	function gbzw(id){//改变职位
	        		$.post('{$_url}/?act=get_zhiwei',{id:id},function(data){
	        			$("#zhiwei").html(data);
	        		});
	        	}
       		 </script>
						</div>
						<!--联系方式结束-->
					</div>
					<!--内容结束-->
				</div>
				<!--右侧结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->

{temp('html/recruit/pc/foot')}